Solution of system of Tridiagonal system of equation